package org.example.biz;

import org.example.oa.entity.Department;

import java.util.List;

/**
 * 业务层，调用dao层DepartmentDao对部门表进行增删改查
 */
public interface DepartmentBiz {

    void add(Department department);
    void edit(Department department);
    void remove(String sn);
    Department get(String sn);
    List<Department> getAll();

}
